package com.fenghongzhang.day009;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Generated;

/**
 * @author feng-hong-zhang
 * @date 2021-08-19
 * 和数据库user表对应的类
 */
@Entity
public class UserData {
    @Id(autoincrement = true)
    private Long id;

    private String phoneNumber;
    private String userName;
    private String userPwd;
    private String createTime;
    private String nikeName;
    private Integer userAge;
    private Integer money;
    @Generated(hash = 686799547)
    public UserData(Long id, String phoneNumber, String userName, String userPwd,
            String createTime, String nikeName, Integer userAge, Integer money) {
        this.id = id;
        this.phoneNumber = phoneNumber;
        this.userName = userName;
        this.userPwd = userPwd;
        this.createTime = createTime;
        this.nikeName = nikeName;
        this.userAge = userAge;
        this.money = money;
    }
    @Generated(hash = 1838565001)
    public UserData() {
    }
    public Long getId() {
        return this.id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public String getPhoneNumber() {
        return this.phoneNumber;
    }
    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }
    public String getUserName() {
        return this.userName;
    }
    public void setUserName(String userName) {
        this.userName = userName;
    }
    public String getUserPwd() {
        return this.userPwd;
    }
    public void setUserPwd(String userPwd) {
        this.userPwd = userPwd;
    }
    public String getCreateTime() {
        return this.createTime;
    }
    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }
    public String getNikeName() {
        return this.nikeName;
    }
    public void setNikeName(String nikeName) {
        this.nikeName = nikeName;
    }
    public Integer getUserAge() {
        return this.userAge;
    }
    public void setUserAge(Integer userAge) {
        this.userAge = userAge;
    }
    public Integer getMoney() {
        return this.money;
    }
    public void setMoney(Integer money) {
        this.money = money;
    }



}
